﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

public class GameTimeAgent:MonoBehaviour
{
    public Action UpdateEvent;

    private void Update()
    {
        if (UpdateEvent!=null)
        {
            UpdateEvent.Invoke();
        }
    }
}